@mixin position($top: 50%,$left: 50%,$transX: -50%,$transY: -50%) {
    position: absolute;
    top: $top;
    left: $left;
    transform: translate($transX,$transY);
}